package initialize

import (
	"github.com/gin-gonic/gin"
	"mxshop-api/user-web/router"
)

func InitRouter() *gin.Engine {
	r := gin.Default()
	apiRouter := r.Group("/v1")
	{
		router.InitUserRouter(apiRouter)
	}
	return r
}
